<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">

	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1">
	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="yes" name="apple-touch-fullscreen">
	<meta content="telephone=no,email=no" name="format-detection">
	<meta name="App-Config" content="fullscreen=yes,useHistoryState=yes,transition=yes">

	<link rel="stylesheet" href="<?php echo base_url('assets/admin/css/normalize.css') ?>">
	<link rel="stylesheet" href="<?php echo base_url('assets/admin/css/bootstrap.min.css') ?>">
	<link rel="stylesheet" href="<?php echo base_url('assets/css/style.css') ?>">
	<script type="text/javascript" src="<?php echo base_url('assets/admin/js/jquery-1.11.2.min.js') ?>"></script>
	<script type="text/javascript" src="<?php echo base_url('assets/admin/js/bootstrap.min.js') ?>"></script>
	<title>确认登录</title>
	<style>
		.msg{text-align: center; margin: 50px 0; font-size: 20px; color: #000000;}
		.btn{display: block; padding: 8px 10px; border: 1px solid #e0e0e0; margin: 0 30px; background-color: #00CC00;}
	</style>
</head>
<body>
<section class="header">

</section>
<section class="login-area">
	<?php
	if($type == 'ret' && $confirm_url != '') {
		?>
		<div class="msg">
			<?php echo $user['weixin_nickname'] ?>
		</div>
		<a class="btn" href="<?php echo $confirm_url; ?>">确认登录</a>
		<?php
	}elseif( $type == 'login' ){
		?>
		<div class="msg">
			<?php echo $msg?>
		</div>
		<a class="btn" href="javascript:;" onclick="WeixinJSBridge.call('closeWindow');">关闭页面</a>
	<?php }else{ ?>
		<div class="msg">
			<?php echo $msg?>
		</div>
		<a class="btn" href="javascript:;" onclick="WeixinJSBridge.call('closeWindow');">关闭页面</a>
	<?php }?>
</section>
<script type="text/javascript">

</script>
</body>
</html>